Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compiler): emit correct type-check-blocks with TemplateRef's #20463

Closed
wants to merge 1 commit into from

Conversation

chuckjaz
Copy link
Contributor

The type-check block generated with "fullTemplateTypeCheck" was
invalid if the it contained a template ref as would be generated
using the else micro-syntax of NgIf.

Fixes: #19485

PR Type

What kind of change does this PR introduce?

[x] Bugfix

What is the current behavior?

Issue Number: #19485

What is the new behavior?

The type-check blocks are now valid if they contain a generated template ref.

Does this PR introduce a breaking change?

[ ] Yes
[x] No

The type-check block generated with `"fullTemplateTypeCheck"` was
invalid if the it contained a template ref as would be generated
using the `else` micro-syntax of `NgIf`.

Fixes: angular#19485
@mary-poppins
Copy link

You can preview 5244ac9 at https://pr20463-5244ac9.ngbuilds.io/.

@chuckjaz chuckjaz added target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Nov 16, 2017
@mhevery mhevery added the area: core Issues related to the framework runtime label Nov 16, 2017
@mhevery mhevery closed this in 68b53c0 Nov 17, 2017
mhevery pushed a commit that referenced this pull request Nov 18, 2017
)

The type-check block generated with `"fullTemplateTypeCheck"` was
invalid if the it contained a template ref as would be generated
using the `else` micro-syntax of `NgIf`.

Fixes: #19485

PR Close #20463
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker area: core Issues related to the framework runtime cla: yes target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[compiler]: fullTemplateTypeCheck throws with IllegalState
4 participants